{% if error %}
<h1>Error {{ error }}</h1>
{% endif %}

<h1>Project {{ requirement.document.project }} User {{ user }} Document {{ requirement.document }} Requirement {{ requirement }}</h1>

       <div><li>{{requirement.order}}:{{requirement.unique}}</li>
         <ul>
         {% if requirement.section %}
            <li> Section: {{requirement.section.kind}}&nbsp;{{requirement.section.text}}</li>
         {% endif %}
         {% if requirement.onelinetext %}
            <li> One liner: {{requirement.onelinetext.text}}</li>
         {% endif %}
         {% if requirement.multilinetext %}
            <li> Multi liner: {{requirement.multilinetext.text}}</li>
         {% endif %}
         {% if requirement.alias %}
            <li> Alias: {{requirement.alias.alias}}</li>
         {% endif %}
         {% if requirement.table %}
            <li> Table: {{requirement.table.columns}}&nbsp;{{requirement.table.text}}</li>
         {% endif %}
         {% if requirement.variable %}
            <li> Variable: {{requirement.variable.name}}={{requirement.variable.value}}</li>
         {% endif %}
         {% if requirement.file %}
            <li> File: {{requirement.file.file}}</li>
         {% endif %}
         {% if requirement.image %}
            <li> Image: {{requirement.image.image}}</li>
         {% endif %}
         </ul>
      </div>
    
<h2><a href="/rat/project/{{requirement.document.project.pk}}/{{requirement.document.pk}}/">Select a different requirement</h2>
<h2><a href="/rat/project/{{requirement.document.project.pk}}/">Select a different document</h2>
<h2><a href="/rat/">Select a different project</h2>
<h2><a href="/accounts/profile/">Do some other RAT task</h2>
